package com.csthink.web.application.service;

import com.csthink.mysql.entity.Account;
import com.csthink.mysql.entity.User;
import com.csthink.web.application.dto.test.AccountSetupRequest;

/**
 * @author <a href="mailto:security.2009@live.cn">Mars</a>
 * @since 2023-09-10
 */
public interface AccountService {

    Account getAccount(User loginUser);

    Boolean saveAccount(Account account);

    User initAccount(AccountSetupRequest request);

    Account getAccountByUsername(String username);
}
